<div id="content" class="copy">
<h1> </h1><br>

 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script type="text/javascript">
      google.load("visualization", "1", {packages:["corechart"]});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = google.visualization.arrayToDataTable(<?php echo json_encode($user_group);?>);

        var options = {
          title: 'Users registered in groups',
          hAxis: {title: 'Quiz vs Percentage', titleTextStyle: {color: 'red'}}
        };

        var chart = new google.visualization.PieChart(document.getElementById('chart_div'));
        chart.draw(data, options);
      }
    </script>
		 <div id="chart_div" style="width: 400px; height: 400px;"></div>
</div>
